Description
Update the document backing the file system item with the given id with the input blob. Return the file system item backed by the updated document as a JSON blob.
Operation id | NuxeoDrive.UpdateFile |
Category | Services |
Label | Nuxeo Drive: Update file |
Requires | |
Since | |
Parameters
Signature
Implementation Information
JSON Definition
{
"id" : "NuxeoDrive.UpdateFile",
"label" : "Nuxeo Drive: Update file",
"category" : "Services",
"requires" : null,
"description" : "Update the document backing the file system item with the given id with the input blob. Return the file system item backed by the updated document as a JSON blob.",
"url" : "NuxeoDrive.UpdateFile",
"signature" : [ "blob", "blob" ],
"params" : [ {
"name" : "id",
"description" : "Id of the file system item backed by the document to update.",
"type" : "string",
"required" : true,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "parentId",
"description" : "Optional id of the file system item backed by the parent container of the document to update. For optimization purpose.",
"type" : "string",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ ]
} ]
}